/*
 *  $Id: Disconnect.cs 1218 2010-11-28 14:03:06Z thenn.erannor $
 *  This file is a part of Ragima CCG.
 *  (C) 2008-2010 Ragima development group.
 *
 *  Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Events {
    public class Disconnect : DirectConnectEvent {
        protected override void ExecuteInner(DirectConnectScene scene) {
            scene.EnableConnectButtons(true);
            scene.EnableAcceptButtons(false);
            scene.Log.Add(Resources.DirectConnect.ConnectAbort);
        }
    }
}
